package com.tyx.chargingpile.Enum;

public enum HttpServiceExceptionEume {
    OK("00000","OK"),
    /**
     * 参数错误
     */
    PARAMETERERROR("20000","参数错误"),
    /**
     * 请求指令错误
     */
    REQUESTINSTRUCTIONERROR("20001","请求指令错误"),

    /**
     * 结果为空
     */
    RESULTISEMPTY("20002","结果为空")
    ;

    HttpServiceExceptionEume(String code,String msg){
        this.code = code;
        this.msg = msg;
    }
    /**
     * 错误代码
     */
    private String code;

    /**
     * 错误信息
     */
    private String msg;

    /** 错误代码 */
    public String getCode() {
        return code;
    }

    /** 错误代码 */
    public void setCode(String code) {
        this.code = code;
    }

    /** 错误信息 */
    public String getMsg() {
        return msg;
    }

    /** 错误信息 */
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
